package com.jinmdz.fmis.api.api.model.settlement;

import com.jinmdz.fmis.api.api.model.common.IdVersionData;
import com.jinmdz.fmis.common.annotation.AnValidate;
import com.jinmdz.fmis.core.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.ArrayList;

/**
 * 打印发票数据
 *
 * @author LiCongLu
 * @date 2020-05-13 14:21
 */
@ApiModel(value = "打印发票数据", description = "打印发票数据")
public class ChargeInvoiceData extends BaseBean {

    /**
     * 业务编码
     */
    @AnValidate(name = "业务编码", required = true)
    @ApiModelProperty(value = "业务编码", name = "businessCode", position = 1)
    private String businessCode;

    /**
     * 结算主键集合
     */
    @AnValidate(name = "结算主键集合", required = true)
    @ApiModelProperty(value = "结算主键集合", name = "settleIds", position = 2)
    private ArrayList<IdVersionData> settleIds;

    /**
     * 发票信息
     */
    @AnValidate(name = "发票信息", required = true)
    @ApiModelProperty(value = "发票信息", name = "invoiceItem", position = 3)
    private ChargeInvoiceItemData invoiceItem;

    public String getBusinessCode() {
        return businessCode;
    }

    public ChargeInvoiceData setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public ArrayList<IdVersionData> getSettleIds() {
        return settleIds;
    }

    public ChargeInvoiceData setSettleIds(ArrayList<IdVersionData> settleIds) {
        this.settleIds = settleIds;
        return this;
    }

    public ChargeInvoiceItemData getInvoiceItem() {
        return invoiceItem;
    }

    public ChargeInvoiceData setInvoiceItem(ChargeInvoiceItemData invoiceItem) {
        this.invoiceItem = invoiceItem;
        return this;
    }
}
